<template>
	<el-button type="primary"  @click="getUserInfo" style="margin-left:80px;">确定</el-button>
</template>
<script setup lang="ts">
import { ElMessage, ElMessageBox } from 'element-plus';
import { AuServerUtil } from '@/util/auth/au_server_util';
import { useRoute } from 'vue-router';
import { ref, reactive, watch, onBeforeMount } from 'vue';
import { UserServerUtil } from '@/util/entity/user_util';
import { SignUtil } from '@/util/signin';
const route = useRoute();

onBeforeMount(async () => {
	
});
const getUserInfo = async () => {
	let uId=SignUtil.getUserId();
	UserServerUtil.findUserById(uId);
};

const saveUserLog = async () => {
	//let uId=SignUtil.getUserId();
	UserServerUtil.saveUserLoginInfor();
};
</script>
<style>
.curMain {
	--el-main-padding: 0px;
	margin-top: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.loginform {
	max-width: 660px;
}
.curFoot {
	/**底部宽度*/
	width: 100%;
	padding: 0px;
	bottom: 0px;
}
</style>
